﻿namespace Traffic.Entity;

public partial class OrderListPlan
{
    public int Id { get; set; }

    /// <summary>
    /// OrderList.ID
    /// </summary>
    public int OrderId { get; set; }

    /// <summary>
    /// 接送地址
    /// </summary>
    public string PickupAddress { get; set; } = null!;

    /// <summary>
    /// 上车站点
    /// </summary>
    public string FromStation { get; set; } = null!;

    /// <summary>
    /// 目的站点
    /// </summary>
    public string ToStation { get; set; } = null!;

    /// <summary>
    /// 提前时间
    /// </summary>
    public DateTime? LeadTime { get; set; }

    /// <summary>
    /// 计划接送时间
    /// </summary>
    public DateTime? PlanPickupTime { get; set; }

    /// <summary>
    /// 计划使用的班次ID
    /// </summary>
    public int FrequencyId { get; set; }

    /// <summary>
    /// 班车发车时间
    /// </summary>
    public DateTime? SetTime { get; set; }

    /// <summary>
    /// 航班起飞时间
    /// </summary>
    public DateTime FlightTime { get; set; }

    /// <summary>
    /// 距离(米)
    /// </summary>
    public double? Distance { get; set; }

    /// <summary>
    /// 公里数
    /// </summary>
    public double? Kilo { get; set; }

    /// <summary>
    /// 预计行车时长
    /// </summary>
    public double? DriverMinute { get; set; }

    /// <summary>
    /// 是否符合条件
    /// </summary>
    public bool IsEligible { get; set; }

    /// <summary>
    /// 不符合条件时的原因
    /// </summary>
    public string? Reason { get; set; }

    /// <summary>
    /// 使用计划  默认0不使用
    /// </summary>
    public bool UsePlan { get; set; }
}
